package com.day1018.TCP_Socket;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class MainText {
    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket = new ServerSocket(9999);
        while (true){
            Socket socket = serverSocket.accept();
            ServerThread serverThread = new ServerThread(socket);
            serverThread.start();
        }

    }
}
